/*
 * Copyright (c) 2020 hebeiyiliuba.com
 * All rights reserved.
 *
 */
package org.jeecg.modules.third.face.resp;

import org.jeecg.common.constant.CommonConstant;

import java.io.Serializable;

/**
 * 响应数据实体
 *
 * @author duanlikao
 * @created 2020/12/29
 */
public class DataResp implements Serializable {

    private String message;
    private int code;
    private Object data;

    public interface Code{
        int SUCCESS = CommonConstant.SC_OK_200;
        int ERROR = CommonConstant.SC_INTERNAL_SERVER_ERROR_500;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}